<?php 
	include_once("./commonality.php");
	$addr_id=$_GET['addr_id'];
	$sql="delete from ts_address where addr_id='$addr_id'";
	mysql_query($sql);
	if(mysql_affected_rows()>0){
		echo"<script>
			alert('删除成功')
			location.href='close.php'
			</script>";
	}else {
		echo"<script>
			alert('删除失败')
			location.href='close.php'
			</script>";	
	}







 ?>